﻿// -----------------------------------------------------------------------
// <copyright file="IPersonInformationService.cs" company="EPAM Systems">
////Copyright (c) EPAM Systems, 2012. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------

namespace MBOP.Core.Interfaces.Services
{
	#region Usings

	using System.Collections.Generic;

	using MBOP.Core.DTO;
	using MBOP.Core.Entities.Common;

	#endregion

	/// <summary>
	/// Provides the common interface of the person's operations.
	/// </summary>
	public interface IPersonInformationService
	{
		#region Methods

		/// <summary>
		/// Gets the person information.
		/// </summary>
		/// <param name="personFindingInfo">The person's finding info.</param>
		/// <param name="findingType">The finding type.</param>
		/// <param name="isImageInclude">Indicates image including.</param>
		/// <returns>The person info.</returns>
		PersonInfo GetPersonInfo(string personFindingInfo, PersonFindingType findingType, bool isImageInclude);

		/// <summary>
		/// Gets the person list specified by begin name sequence.
		/// </summary>
		/// <param name="nameSequence">The begin name sequence.</param>
		/// <param name="isRestricted">The location restricted indicator.</param>
		/// <returns>The person list.</returns>
		IEnumerable<PersonInfo> GetPersonList(string nameSequence, bool isRestricted);

		#endregion
	}
}
